package mylibrary.reflect;

public class User extends Person{

	private static String addr = "AMK";
	public static String id = "x1234d";
	
	private String name;
	private int number;
	public String sex;
	private String op = "outpatient";
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	
	public User(String name, Integer number, String sex) {
		this.name = name;
		this.number = number;
		this.sex = sex;
	}
	
	public User() {}
	
	public String getOp() {
		return this.op;
	}

	public String plus() {
		return name + "|" + sex;
	}
	
	public static String add() {
		return "static:" + addr + "|" + id; 
	}
	
	private String f1(){
		return "private method";
	}
	protected void f2(){}
}
